fixed "remember me" bug