I cannot sign in to App Store with my Apple ID
If you've created a new Apple ID, you need to have a valid OS X purchase  under this new Apple ID? Otherwise you might have to use—at least for the install—the Apple ID you used to buy OS X.