Registration is working, just have to move the actual database insertion into the class