added page model and joiner tables
added styles in erb to make nav work regardless