how to primary apply online