Finish Login-Logout