Set a cookie into the session when logged in,
/!\ Changed the password for mysql connection because problems with my phpMyAdmin instance