working out the users view and controller