I have an application, where i can log in and store my session in cookies. So, my question is: how can i check if user is authenticated and he has acces to certain page? The use