adding gems "pundit" and "device" to manipulate users, and fixing
version of gems