logout: implement a logout form, and allow the users to log in/out via the navbar