changed login to ajax added error message for incorret login, closes #36