Completed social and normal login plugin