Added state checkers based on user credentials and new RESTful functions in HTTPHelper