Major changes.

- Got ajax stuff working between front and backend in jquery

- Started moving login to be handled in HomeController and ajax. Didn't
delete logincontroller etc yet though.

- Cleaned up frontend a bit. Still very messy though.