Added edit option for existing records.

Added edit page and routes.