Use md5 to authenticate user