Added mysql dependency, minor reorg
Added real-time username checking to registration page