added upload validation for size and type. Currently image files less than or equal to 750KBs are allowed.