code cleaned (login messages ok)