fix modal close after login
add name attribute for easier testing
disable reloading existing jwt token until we have fixed infinite redirect issues
add basic error message to login