separate url and action