added authorization for admins; added 'sticky' footer; changed db connection from mysql to mysqli;