Secure authentication in a MERN application | MavenHost