finished single user info function and authentication system