Added logic to get to admin.