new changes.

save login history and create function for saving user social
information.