user.images not working properly