pub mod models;
use models::Credentials;
pub fn logout() {
println!("Logging out...");
}
pub fn login(creds: &mut Credentials) {
println!("Authenticating user: {}", creds.username);
crate::database::get_user();
creds.is_login = true;
creds.username = String::from("Authenticated User denghuizhi");
}