Fixed issue with undefined roles
More fixes with roles
merged changed konnection.js
fixed auth controller and service