Added a login page, auto detect name and filiere