Fixed unknown method error for admin