Final commit, added security with basic HTTP authentication provided by rails