login: hooking up `logout` functionality and button