added cancan and configured email for devise