user login fixes. Still needs work.