added catch for getuser