added user info function