initial setup
auth and message loading