Home page finalized. Added functions for Latest and most popular photos.