fixed my images bug
only allow jpg or png uploads
disabled the button
removed random logs