User login and logout process.