Fix for user authorization