Fix the login pages and add chats page base.