First implementation of registration validation,...

method to user service added, changed to angular 1.3.x