working login, api activity added.