added foreign key in status table for users table