use switch statment for messages
added setPage function for the Messages class and moved the message user function into its own function
socket struct now keeps track of the page and added a create Socket function
have server file use the newSocket function
added function to set and unset the page in memory or redis