modify the log in module codes