centered messages div in main layout
fixes relations ships and sets up session mocking