protecting against empty post lists
Added code for allowing users to be created (to allow testing things out in heroku) and also for setting user of a posting to be random until we add authentication
fixed random user generator to offset by 1 so that you don't get 0 as user ID ever generated
code cleanup including using inline form style for searches, catching when random user ID is not valid and defaulting to User.first for posts.