Finally -- Login Working--Implement Logout