Location redirect bugfix
Added get all users function