Added remember me logic.