[SSE] Added login functionality and connection to mysql.