Added Sidebar header and footer to pages

Added error checking at register screen.
Added sideBar, header and footer to all pages.
Added Priv and Regular User views