first pass at a login system