registeration return user object