removed unused route
moved login javascript into its own file
moved login javascript into its own file
better handling of disconnects