Added comments and a secure log in using basic HTTP

Given I am using 4.1 ruby, there are no more mass commits i.e. attr_accessible

I will fix this by using strong paramaters in the next commit