Merge pull request #21 from smcgregor/master

Application Cleanup
Fixing unneeded leading space on multiple lines
Merge pull request #22 from irdan/irdan/whitespace-fix

Fixing unneeded leading space on multiple lines
moved login to AJAX endpoint in application bundle