minor login fixes