User not able to submit jpeg files