created new UserService to persist data between tabs
refactor profile controller into UserService