I just wrote a simple script that ask user for username and password. It will store data to DB. But when I pull out the data (user wants to login) that will show error: Type