Fix remember me function