cleaned up login and wrote express server for testing