Cleanup: remove deprecated arguments
Reuse method and add checkUser method to $rootScope