add error reporting for authentication
Add role support and remove velocity till it's better supported