hook up login, add logout button