added CORS support for user signup