created some javascript and a php stub (so far) to handle the login