A few improvments

- add refresh interval parameter
- fixes problems with context path
- return a more reasonable page when backend is dead