implementing login - in progress
must download and implement validate.js next