Added authorization dialog. Now need to add cookie for user usability