Adds a "remember me" checkbox and stores the login data in a cookie