modified sql for first name and surname, added template and loading mechanisms for candidate-specific pages