improved authentification modal