Server will now start and end actions if the client sends the appropriate messages