Add updated database. Add user and teacher registration