redefined all permissions
user can't be nil anymore in ability. stupid me removed to much code some days ago.
moved root route to top of routes file
removed unneccesary code from posts and users controllers. in fact cancan load_and_authorize_resource does all the things now.