added user apis interactions for login/logout