modified to create photo albums,user privileges,ordinary users to upload