changing insertbookmobile to post and creating cookies in loginjson