Redirect user to index.html if they are not logged in and try to access other app urls