implement the news registration function  Registration.PHP