Added some charts to profile view. Small db fixes