starting user login/logout functionality adding