Core logic works

TODO - logout button
beautify profile with table and statistics
general styling, consistency accross pages.