what is the best way to implement Login with email address, mobile number or username. all those field save as a different field in user table. user can login with any criteria that user provided to registered. its look like how
instagram.com does it. i need know what is the best way to implement this. Username field cant include '@' sign and username should be letter, number and '_' .