Finished coding the method to calculate the templates for a user. Will extend to cover all the users soon.