user login,logout,part of registration