authentication checks for duplicate emails now

also, added localhostON in dbconnection, which gives include errors if I
included generalFuncs.. duplicate includes..