implement authentication and scaffold Activity