testcases for all the userfunctionalities