Added new login frame & offline mode support.