Alter login and logout views slightly