updated getUser to match the front