Created a BaseActivity for easier implementation

- Created a BaseActivity for easier implementation
- Created log events in ConnectActivity