Login

The hook should be usable like this:

const { user } = useAuthSession();
if (user) {
  console.log('User:', user.username);
}

User:admin, Password:admin