Added code to send registration email and display registration form, plus css and route fixes.