added user login logout