Added ajax to login form and updated the home page to use a data-url='home' attribute to change the url to that. Also added .gitignore to ignore /uploads/*