added credentials caching; removed sample app styles