social module login validation on the UI side.