Feature/security

login, registration and forgot password changes
I know this is a matter of style but let's keep this consistent with the rest of the code and put the brackets on the same line.