Fix t function on login page