added user login out feature