fixed some bug and improved function
added documentation
added documentation
improved photos albums controller and model