Change find by find_by_id in application_controller

An error occurs when you reset database and you didn't logoff. User id is not remove from cookie and we try to find a Person with id who doesn't exit. find_by_id return nil if not found.