Implemented view and controller actions for displaying and editing payment methods.