ordnet innlogging i gui + noe i main logic