login,logout process now working