Login and logout views

Make `self.email.data` a parameter.