fixed the 'remember me' feature