login messages and redirections