trying to fix login error
only allows unique friends in database