adding rudimentary login system