added password check for students