db changes for social auth and implementation of some actions