login now works, i think
login works. debug rest tomorrow