fix foundation js
check user permissions using cancan