Changed User#admin to User.admin