revamped the running server and implemented url endpoints in flask for user registration. updated scripts to send post data to server endpoints and implemented modularity