Added the devise integration
Added unit tests for angularjs login