Create confirm_login.php

function to confirm if logged in