Started to adjust the check users method in the authorization module. Still needs more tweaking