cleans up whitespace in ejs files
updates port in client side js
adds constructor functions
removes unneeded duplicate request to fetch user email