# Removing the default authentication methods If you decide you want to remove one of the default authentication methods Gadget provides you when starting your app, simply head over to **Plugins** section in the **Settings** page. Depending on the method you want to remove, you can click the three dot icon to the right and hit `remove authentication method`, or navigate into the auth method and click the button that says `remove authentication method`. This will remove all applied triggers from the `User` model for the auth method. You will be required to remove certain UI and make adjustments to your `User` model to get your app into a working state. ## Google ### `User` model configuration Remove the following fields from the `User` model: * `googleImageURL` * `googleProfileId` ### Frontend - UI configuration Paste the following code snippets into the corresponding files. #### Sign up component ```tsx import { useActionForm } from "@gadgetinc/react"; import { api } from "../api"; export default function SignUp() { const { register, submit, formState: { errors, isSubmitSuccessful, isSubmitting }, } = useActionForm(api.user.signUp); return (
); } ``` #### Sign in component ```tsx import { useActionForm } from "@gadgetinc/react"; import { api } from "../api"; import { Link } from "react-router"; export default function SignIn() { const { register, submit, formState: { errors, isSubmitting }, } = useActionForm(api.user.signIn); return ( ); } ``` ## Email-Password ### `User` model configuration Remove the following fields from the `User` model: * `resetPasswordTokenExpiration` * `password` * `resetPasswordToken` * `emailVerificationTokenExpiration` * `emailVerificationToken` * `emailVerified` Also proceed and delete the following actions within the `User` model and User folder within your files: * `sendVerifyEmail` * `verifyEmail` * `resetPassword` * `sendResetPassword` * `changePassword` ### Frontend - UI configuration Paste the following code snippets into the corresponding files and delete the following files from the routes within your frontend folder: * `change-password.jsx` * `reset-password.jsx` * `forgot-password.jsx` * `verify-email.jsx` #### Sign up component ```typescript import GoogleIcon from "../assets/google.svg"; import { useLocation } from "react-router"; export default function () { const { search } = useLocation(); return (