Add Pearson correlation file
Cleaning up templates
Adds logout function