Bugfix email validation, md5 activated

This means login/register functionality is now implemented and running
with a DB.