Clean up swap files and weird stuff.
Fix login and add jquery.