jas-37 index.html does not detect if the user is already logged in