tsk29: Fixes user authentication correctlyFixed user authentication and role management. Also addedUnauthorizedAccessException and fixed tests