Added registration, validation via ModShare, and fixed login script