try to add login function in the header