refactoring backend/users, backend/comments and frontend/scripts/gallery
merged
mentioned in commit ae18f0e5