Added adminView and changed access to registerView