The SQL code for the login system for the web interface