Added md5 password hashing to frontend