improved sendVerificationEmail()
total refactoring of registerNewUser(), got rid of deep if/else nesting
refactoring editUserEmail() model method
improvements isUserLoggedIn()
comments
refactored editUserName() model method
soft improvements loginWithFacebook()
soft improvements loginWithFacebook()
refactoring Facebook login etc. (part 1)
refactoring Facebook login etc. (part 2)
changed method names to fit PSR-1/2
facebook login refactoring part 3