Register Activity and login