add toClient method for User Model