Added basic response code system regarding login connectivity. Also rewrote a little bit of connection handling, now to wait for webpage design to be completed.