Implementing pseudo log in, to alter view based on user'
Fixed up some permissions issues