login almost working
login almost done