AJAX login working

A message fades in if an invalid login is entered. Routes to correct page if valid login is entered.