User login and logout process created.