profile working without database stuff