Move stuff from controller to view
Remove cancan
Rename before_filter to before_action
Remove a comment
Add better_errors
Clean flash messages stuff