finish login/logout user