send user object from server to angular