Stable build

no crashes. recoded user profile to take user object as argument