Added genhash and checkpass commands (prep for login system)