changes to message handling

made more changes to message handling and ids and also added a user
prompt to get players' names