Cleaned up some javascript and got the login page nice and lean. Now to merge login and profile