Changed login from md5 to bcrypt