added username, enter to send, moved to jQuery