Adding photo upload api