Used md5 for password checking