remove register.js - unnecessary now with auth service
fix authentication issues