added "remember me" login functionality, jesus what an effort TODO refac