Finish login, add logout