Added logn and register views, added logic for showing the views, changed dojo them to nihilo