Feature/security

login, registration and forgot password changes
I moved this to a global file locally. But it makes sense if you want to keep it in the project for everyone else. I've added it back.