Added basic REST support.
Fixed issue where login indicator was not working correctly.