added route for upload pic