started login system - added ability to gather POST data from client