That's another story. just look at index and the methods in application Helper