added registration and made sure submission fields arent empty on submission