New pages, added features

Profile page, pages for functionality, small edits, database connects.