Implemented user login and logout buttons