updated routes for registration, updated edit page