added login activity and intent