fix gallery route, add user object to data before rendering route