add settings and login activity.