Trying to fix authorisation