Adding back registration password check