fix login signature