changed redirect to @user_detail in create def