A secure PHP login system made from scratch with protections against several different common attacks