Added more user authentication functionality. Redesigned page templates based on my NodeJS UserAuth project