Prevented adding student...

If database is empty the user is prevented from adding new students.