login fixes mostly