Added flag to exlucde HR in user jdbc
Sorted user sessions.