more clean messages view, send function written, thanks to maciej01