Added some things for authorization