store user sessions in cookies, add remember me checkbox to login