Authorization

Added authorization to app.