Update database and register form

Changed length of password and salt fields so register will work.
Changed value of 'gender' in register to 'm' and 'f'.