Connected pies to users
Added basic pies controller