Rewrite of usermovie.php and SQL struckture update