Some updates to permissions and hopefully login fix.