Fix bugs with authorization and css