removed getSettings function from AdminController