angular factory to get current user info