Added upload pictures functions and location