get user info logic integrated