Checking if user was logged in bug fix.
File formats to psr-01