back on track
added helper for HTTP auth
referenced SO
Unit tests for controllers