Fixed "remember me" function