added login activities and record login activities
added all src files
merging master