Fix the bug of login, signup and test_item