added user login status in base layout
middleware userinfo added