Optimizing Category function
Optimizing Place Function
Adding Generate Chart function
Optimizing Signup function
Adding update_user and insert_user functions
Updating Function get_template
Adding validate_pass function