Fixed Bug: No check for authorization on pageload.