added controller authentication and configured rails admin