added getUser function to tictail lib