Fixed blocked socket bug

socket won't block after a continue.

changed password stored in database to h(salt + h(password))