Changed variables to private and added size for user photo.