Added code for remember me cookie.