Could sqlite be used to Register, Login and logout in android application or use sharedpreferences? : I'm in the process of developing a application and I wanted to know if its better to use sharedpreferences to create a login, register and also logout functionality in android studio app instead of using Sqlite?

New to android development please help me out. Thank you