Session and Logger

Pull request had Logger and Writer that write logs in file, but don't have request in code that summon him.
Session - then you go in main page "site.com" if your session have $_SESSION['logInStatus'] = 1 you will see your account page else you will see LogIn page.
why `1`?
Why it is not a boolean true?

If you want to use `1` it should be stored as a constant...

But just `true` for me sounds better

Actually why we have to store some flags here?
if user logged in we'll have email in the session, isn't it?