implemented photo upload functionality - boom