Python Flask web application to register users via signup form