Example of URL pattern and database conecction