logic for sending verifying user name password