fixed duplicate name in query
change URL to fix login