finished login, forgotten password and remember me functionality