regenerates session id when user logs in
validates all user input with prepared statements in products.php