Home links corrected, and fixed server_name issue

- Links in the home.html now use url_for
- Removed server_name variable and using request.url_root