Fixed user model attribute linkage and devise config for ldap