Registration form saving data in database

used post method to get data