Add authorize link to other config view as well and do some refactoring