Added bets table to home page

Also added some helper functions in user.rb and application_helper.rb