connected login with ShowMessages and SingleMessage classes