fix for remember me function