Server upload works.

-Renamed file in order to be better suitable to its function
-Added conditions:
     +Check if file already exists
     +Check if file has any errors
     +Check if file is actually an image of extension jpg, jpeg, or png