bugfix on test login function
add input for item's link