Implemented checking if user has logged in in this session