finish the login
write code for message