Users Authorization added, it also includes redirect functions.