Making send button work