implemented authentication with passport
added trusted client check to ClientPassword strategy
Changed name of a db field
Added check if username is already taken when registering a user + changed some identifiers