Pocket Authentication scripts