Rrestrict access to static pages if user is not logged in

Hi im very noob in wordpress but maybe this can give you some google results:
Wp_nopriv
Wp_priv

I think these were things for AJAX(the thing i just have experienced). But they had to do with the user being logged in or not. I wish you goodluck.