added login activity and settings