Added admin check to login server