Fixat loggin authorizaton of doom