Checking authentication and user role...