Changed password system slightly