Added get_user_role to constructor.