Fixed "if can?" error. Forgot to add role method in user model. Method added.