partial commit of login

almost finished but computer blue screened so I'm checking in for
precaution sake