File upload, Authentication and Ajax