made images accessible in the User model