pb with undefined variable in login page fixed