added remember me functionality
logging via cookie