adding checking user login in generictag
remove test code for checking user login in generictag