sorry still a novice (not fawn of the word newbie

)
Ok I see those 2 files and I understand those create the auth look. I dont need that. I want to make my own php file outside of a tpl that check the user status. I am just not sure how to find the right statement. Can you please post it.
I havelooked in login.php, register.php, auth.php, auth.tpl & authbox.tpl
I think what I want is in login.php just not sure.
I will paypal $5 to anyone who can solve this for me. I know it is not much $ but I dont have much either to offer
Thanks.