fix remember me function