add & edit user improved, database improved

students & teacher are seperated