Fixed login error page

Now, when there is a login error, user is presented with error.html that continues
to attempt login or cancel, which returns to index.html