Pass parameters via URL and make them optional