added user.spec and few other changes