Login Fixed

Login fixed. Registration still underworks. Lost password seems to be
working - more testing needed.