@page "/" @using Microsoft.EntityFrameworkCore.ChangeTracking @using VPNAuth.Server @using VPNAuth.Server.Database @{ Layout = null; string remoteIp = Request.HttpContext.GetRemoteIpAddress(); ConfigUser? user = Request.HttpContext.GetUser(); } VPNAuth - Dashboard @if (user == null) {

No user detected

} else {

Dashboard

VPNAuth

Hey, @user.Username!

User settings coming soon...

Your IPs

}