Adding login and registration

Integrate restangular.js to handle rest services