Added database model
Redirect after Post test passed