added prepared statements, and built the student login