jshint fixes
refactor auth as a service.
merging register
specs for become a member page