Fix for users profiles and userByUsername.
* Added unique index to users.profiles on user_id
* Added where clause to updateUserProfile
* Updated userByUsername to select specific fields.