minor fix plus added cancan