manage lang
bugfix login function