Creating user and made user login and logout examples